import VueRouter from 'vue-router'
Vue.use(VueRouter)
import Vue from 'vue'
import Home from './views/home.vue';
import News from './views/news.vue';
import Best from './views/best.vue';
import Cloth from './views/cloth.vue';
import Show from './views/show.vue';
const router=new VueRouter({
    routes:[
        {
            path:'/',
            redirect:'/home',
        },
        {
            path:'/home',
            component:Home
        },
        {
            path:'/news',
            component:News
        },
        {
            path:'/best',
            component:Best
        },
        {
            path:'/cloth',
            component:Cloth
        },
        {
            path:'/show',
            component:Show
        },
    ]
})
export default router